/*
 * Query.cpp
 *
 *  Created on: Sep 9, 2013
 *      Author: alexandru
 */

#include "Query.h"

namespace stn {

using namespace std;
std::string Query::OPERATOR_SELECT="SELECT";
std::string Query::OPERATOR_DELETE="DELETE";
std::string Query::OPERATOR_UPDATE="UPDATE";


int Query::OPERATOR_STATUS_SELECTED=1;
int Query::OPERATOR_STATUS_DELETED=2;
int Query::OPERATOR_STATUS_UPDATED=3;
int Query::OPERATOR_STATUS_FAILED=4;

std::string Query::KEYWORD_ALL="ALL";

std::string Query::TYPE_VALUE="VALUES";
std::string Query::TYPE_PROP="PROPERTIES";

std::string Query::COMP_LESSTHAN="LESSTHAN";
std::string Query::COMP_MORETHAN="MORETHAN";
std::string Query::COMP_EQ="EQ";
std::string Query::COMP_NOTEQ="NOTEQ";

std::string Query::COMP_LIKE="LIKE";
std::string Query::COMP_NOTLIKE="NOTLIKE";

std::string Query::COMMMAND_LOAD_DB="LDB:";
std::string Query::COMMMAND_IMPORT_LOCAL_JSON="ILJ:";
std::string Query::COMMMAND_IMPORT_LOCAL_XML="ILX:";
std::string Query::COMMMAND_IMPORT_REMOTE_JSON="IRJ:";
std::string Query::COMMMAND_IMPORT_REMOTE_XML="IRX:";
std::string Query::COMMMAND_LIST_DATABASES="LST:";
std::string Query::COMMMAND_IMPORT_FOLDER_STRUCT="IFS:";

const char * Query::RESPONSE="response";

Query::Query() {}

Query::~Query() {}

} /* namespace stn */
